import 'package:flutter/material.dart';
import 'package:maihealth/utils/constant.dart';
import 'package:maihealth/utils/screenUtil.dart';
class commonHeader extends StatelessWidget {
  final String title;
  const commonHeader({Key key, this.title}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(left: setWidth(15)),
      alignment: Alignment.centerLeft,
      height: setHeight(60),
      child: Text(title,style: TextStyle(fontSize: 20,fontWeight: FontWeight.bold,color: ThemeBlackColor))
    );
  }
}